<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<title>生活管理</title>
</head>
<body>

 	<%@ include file="/pages/common/base/Head.jsp" %>
			<iframe name="xtianzhuang" style="width: 100%; height: 100%;"></iframe>
 	<%@ include file="/pages/common/base/Foot.jsp" %>
</body>
</html>
<script>
<c:if test="${log!=null}">
	layui.use('layer', function(){
		  var layer = layui.layer;
	    layer.open({
	        type: 1
	        ,offset: 'rb'
	        ,id: 'layer1'
	        ,content: '<div style="padding: 50px; line-height: 20px; background-color: #393D49; color: #fff; font-weight: 300;">上次登录时间：${log.loginTime}<br/>登录ip：${log.loginIp}</br></div>'
	        ,btn: '关闭'
	        ,shade: 0 //不显示遮罩
	        ,yes: function(index, layero){
	  	          layer.close(index);
	  	    }
	      });
		}); 
</c:if>
<c:if test="${remind !=''&&remind !=null}">
layui.use('layer', function(){
	  var layer = layui.layer;
	  layer.open({
	        type: 1
	        ,title: false //不显示标题栏
	        ,closeBtn: false
	        ,area: '300px;'
	        ,shade: 0.8
	        ,id: 'layer2' //设定一个id，防止重复弹出
	        ,btn: ['关闭']
	        ,btnAlign: 'c'
	        ,moveType: 1
	        ,content: '<div style="padding: 50px; line-height: 22px; background-color: #393D49; color: #fff; font-weight: 300;">${remind}</div>'
        	,yes: function(index, layero){
  	          layer.close(index);
  	        }
	      });
	}); 
</c:if>
</script>
      
